#ifndef CHARCHECK_H_INCLUDED
#define CHARCHECK_H_INCLUDED

//检查是否为数值

inline bool charCheckDigit(char ch)
{
    if(ch>='0'&&ch<='9'){
        return true;
    }
    return false;
}
inline bool charCheckNoZeroDigit(char ch)
{
    if(ch>='1'&&ch<='9'){
        return true;
    }
    return false;
}
inline bool charCheckLetter(char ch)
{
    if((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z')||ch=='_'){
        return true;
    }
    return false;
}


#endif // CHARCHECK_H_INCLUDED
